package com.ace3l.legal.gwt.domainmodule.client;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.ace3l.legal.gwt.domainmodule.gwt.GWTLawFirm;
import com.ace3l.legal.gwt.domainmodule.gwt.GWTStudent;

public interface UserServiceAsync {

    void authenticateUser(String username, String password, AsyncCallback async);

    void createLawFirm(GWTLawFirm lawFirm, AsyncCallback async);

    void createStudent(GWTStudent student, AsyncCallback async);

    void getLawFirm(Integer id, AsyncCallback async);

    void logoutUser(AsyncCallback async);

    void getRole(AsyncCallback async);

    void doesUserExist(String username, AsyncCallback async);
}
